package com.ld.control.business.data.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author wangfeng
 * @since 2024-09-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("temporary_map")
@Schema(description = "TemporaryMapModel对象")
public class TemporaryMapModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "业务id")
    private String businessId;

    @Schema(description = "key")
    private String dataKey;

    @Schema(description = "value")
    private String dataValue;

    private Date createTime;

    private Date updateTime;




    public static final String ID = "id";

    public static final String BUSINESS_ID = "business_id";

    public static final String DATA_KEY = "data_key";

    public static final String DATE_VALUE = "data_value";

    public static final String CREATE_TIME = "create_time";

}
